package com.dream.model;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import org.hibernate.annotations.Cascade;
import org.hibernate.annotations.CascadeType;
/**
 * 用户标签表
 * @author Administrator
 *
 */
@Entity
@Table(name="sys_user_lable")
public class Sys_User_Lable extends AllId implements Serializable
{

	
	private SysUser sysUser;
	
	private Sys_Lable sys_Lable;
	
	private Integer lableValue=0;//此项目标签具体得分

	

	@ManyToOne(fetch = FetchType.LAZY)
	@Cascade(CascadeType.PERSIST)
	public SysUser getSysUser()
	{
		return sysUser;
	}

	public void setSysUser(SysUser sysUser)
	{
		this.sysUser = sysUser;
	}

	 

	@ManyToOne(fetch = FetchType.LAZY)
	@Cascade(CascadeType.PERSIST)
	public Sys_Lable getSys_Lable()
	{
		return sys_Lable;
	}

	public void setSys_Lable(Sys_Lable sys_Lable)
	{
		this.sys_Lable = sys_Lable;
	}
 
	public Integer getLableValue() {
		return lableValue;
	}

	public void setLableValue(Integer lableValue) {
		this.lableValue = lableValue;
	}




	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	
	
}
